* {
    margin: 0px;
    padding: 0px;
    font-size: 14px;
}
body {
    background-image: url(../images/bg01.gif);
}
div,ul,li{
    list-style: none;
}

h1{
    text-align: center;
    font-size:40px;
    margin-bottom:40px;
}
input, select{
    padding:6px;
    width:230px;
}
select{
    width:242px;
}
button{
    padding:6px 30px;
    margin-right: 15px;
    cursor: pointer;
}
.main{
    margin: 40px auto;
    padding-bottom:80px;
}
.content{
    width: 100%;
}
.header-container{
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-container {
    display: flex;
    gap: 10px; /* 给输入框和按钮之间添加间距 */
}


a,a:link,a:visited,a:hover,a:active {text-decoration: none;}

.reg{
    width:320px;
    margin-left:auto;
    margin-right:auto;
}
.reg ul{}
.reg ul li{line-height: 3em;}
.reg ul li img{width:200px; cursor: pointer;}
.reg .left-m{margin-left:46px;}

.add{
    width:500px;
    margin-left:auto;
    margin-right:auto;
}
.add ul{}
.add ul li{line-height: 3em;}
.add ul li img{width:200px; cursor: pointer;}
.add .left-m{margin-left:75px;}
.add input{
    padding:6px;
}
/* 设置每个商品项的宽度 */
/*.house-list {*/
/*    flex: 1 1 calc(33.333% - 20px); !* 每行三列，减去边距 *!*/
/*    margin-bottom: 20px;*/
/*    box-sizing: border-box;*/
/*    padding: 10px;*/
/*}*/
.house-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 添加间距 */
    justify-content: space-between; /* 水平居中 */
    margin-bottom: 40px;
}
.house-item {
    flex: 1 1 calc(25% - 10px); /* 每行三列，减去边距 */
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 250px;
    padding: 10px;
    height: 320px;
    /*display: flex;*/
}
/* 如果需要更小屏幕上的两列布局 */
@media (max-width: 768px) {
    .house-item {
        flex: 1 1 calc(50% - 20px);
    }
}

/* 对于非常小的屏幕，采用单列布局 */
@media (max-width: 480px) {
    .house-item {
        flex: 1 1 100%;
    }
}

/* 商品项内部样式 */
.house-item img {
    max-width: 100%;
    height: auto;
}

.house-item p {
    margin: 5px 0;
}
.footer-container{
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-container ul{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}